package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/8/16.
 */

public class RedPack extends ErrorStatus {

    /**
     * data : {"red":[{"endDate":1498719053000,"name":"初入江湖","amt":10,"id":10,"desc":"首次入金并完成5手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1500101454000,"name":"驾轻就熟","amt":20,"id":20,"desc":"首次入金并完成15手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1502693454000,"name":"崭露头角","amt":50,"id":50,"desc":"首次入金并完成30手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1502693454000,"name":"小有所成","amt":120,"id":120,"desc":"首次入金并完成50手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1502693454000,"name":"露一手","amt":5,"id":5,"desc":"体验金交易满2手、盈利15%以上，完成首次入金后即可兑现(CFD产品不参与活动)","status":5},{"endDate":1513493917000,"name":"傲视群雄","amt":500,"id":500,"desc":"首次入金后5天内累计入金1万美元以上，完成200手交易(CFD产品不参与活动)","status":5}],"uCompletAmt":0,"completAmt":0}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * red : [{"endDate":1498719053000,"name":"初入江湖","amt":10,"id":10,"desc":"首次入金并完成5手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1500101454000,"name":"驾轻就熟","amt":20,"id":20,"desc":"首次入金并完成15手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1502693454000,"name":"崭露头角","amt":50,"id":50,"desc":"首次入金并完成30手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1502693454000,"name":"小有所成","amt":120,"id":120,"desc":"首次入金并完成50手交易，且兑换前没有出金操作(CFD产品不参与活动)","status":5},{"endDate":1502693454000,"name":"露一手","amt":5,"id":5,"desc":"体验金交易满2手、盈利15%以上，完成首次入金后即可兑现(CFD产品不参与活动)","status":5},{"endDate":1513493917000,"name":"傲视群雄","amt":500,"id":500,"desc":"首次入金后5天内累计入金1万美元以上，完成200手交易(CFD产品不参与活动)","status":5}]
         * uCompletAmt : 0
         * completAmt : 0
         */

        private int uCompletAmt;
        private int completAmt;
        private List<RedBean> red;

        public int getUCompletAmt() {
            return uCompletAmt;
        }

        public void setUCompletAmt(int uCompletAmt) {
            this.uCompletAmt = uCompletAmt;
        }

        public int getCompletAmt() {
            return completAmt;
        }

        public void setCompletAmt(int completAmt) {
            this.completAmt = completAmt;
        }

        public List<RedBean> getRed() {
            return red;
        }

        public void setRed(List<RedBean> red) {
            this.red = red;
        }

        public static class RedBean {
            /**
             * endDate : 1498719053000
             * name : 初入江湖
             * amt : 10.0
             * id : 10.0
             * desc : 首次入金并完成5手交易，且兑换前没有出金操作(CFD产品不参与活动)
             * status : 5
             */

            private long endDate;
            private String name;
            private double amt;
            private int id;
            private String desc;
            private int status;

            public long getEndDate() {
                return endDate;
            }

            public void setEndDate(long endDate) {
                this.endDate = endDate;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getAmt() {
                return amt;
            }

            public void setAmt(double amt) {
                this.amt = amt;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }
}
